#include "StdAfx.h"
#include "Message.h"
#include "..\Client.h"
#include "..\..\public\MsgType.h"
CClient * CMessage::m_pClient=NULL;
CMessage::CMessage(DWORD type)
{
	CBaseMessage::SetType(type);
}

CMessage::~CMessage(void)
{
}

void CMessage::SetClient(CClient* pClient)
{
	if(m_pClient==NULL)
	{
		m_pClient=pClient;
	}
}

void CMessage::Run()
{
	DWORD dwType=this->GetDWORD();
	cout<<MSGTYPE(dwType)<<endl;
}